/**
 *
 * MTG Life Counter
 * Life Cell to display a player's life total
 *
 * Created by Nathan Black
 */

#import <Foundation/Foundation.h>
#import <GraphicsServices/GraphicsServices.h>
#import <UIKit/UIKit.h>
#import <UIKit/UIApplication.h>
#import <UIKit/UIImage.h>
#import <UIKit/UIImageAndTextTableCell.h>
#import "LifeCounterGame.h"


@interface LifeCounterCell : UIImageAndTextTableCell
{
    int _player;
    LifeCounterGame* _game;
    CGPoint _startDrag;
    int _dragDelta;
}

-initWithPlayer:(int)player game:(id)game;
- (int)calcDelta:(struct __GSEvent*)event;
- (void)refresh;

@end
